Optimal. Leaf size=584 \[ \frac{\left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{3 \sqrt{2} \sqrt [4]{3} a^{2/3} b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}-\frac{\sqrt{2+\sqrt{3}} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{4\ 3^{3/4} a^{2/3} b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}+\frac{x \left (a-b x^2\right )^{2/3}}{6 a \left (3 a+b x^2\right )}-\frac{x}{6 a \left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.803382, antiderivative size = 584, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25 \[ \frac{\left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{3 \sqrt{2} \sqrt [4]{3} a^{2/3} b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}-\frac{\sqrt{2+\sqrt{3}} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{4\ 3^{3/4} a^{2/3} b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}+\frac{x \left (a-b x^2\right )^{2/3}}{6 a \left (3 a+b x^2\right )}-\frac{x}{6 a \left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )} \]
Antiderivative was successfully verified.
[In] Int[(a - b*x^2)^(2/3)/(3*a + b*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 46.8108, size = 452, normalized size = 0.77 \[ \frac{x \left (a - b x^{2}\right )^{\frac{2}{3}}}{6 a \left (3 a + b x^{2}\right )} + \frac{x}{6 a \left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )} - \frac{\sqrt [4]{3} \sqrt{\frac{a^{\frac{2}{3}} + \sqrt [3]{a} \sqrt [3]{a - b x^{2}} + \left (a - b x^{2}\right )^{\frac{2}{3}}}{\left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )^{2}}} \sqrt{\sqrt{3} + 2} \left (\sqrt [3]{a} - \sqrt [3]{a - b x^{2}}\right ) E\left (\operatorname{asin}{\left (\frac{\sqrt [3]{a} \left (1 + \sqrt{3}\right ) - \sqrt [3]{a - b x^{2}}}{- \sqrt [3]{a} \left (-1 + \sqrt{3}\right ) - \sqrt [3]{a - b x^{2}}} \right )}\middle | -7 + 4 \sqrt{3}\right )}{12 a^{\frac{2}{3}} b x \sqrt{- \frac{\sqrt [3]{a} \left (\sqrt [3]{a} - \sqrt [3]{a - b x^{2}}\right )}{\left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )^{2}}}} + \frac{\sqrt{2} \cdot 3^{\frac{3}{4}} \sqrt{\frac{a^{\frac{2}{3}} + \sqrt [3]{a} \sqrt [3]{a - b x^{2}} + \left (a - b x^{2}\right )^{\frac{2}{3}}}{\left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )^{2}}} \left (\sqrt [3]{a} - \sqrt [3]{a - b x^{2}}\right ) F\left (\operatorname{asin}{\left (\frac{\sqrt [3]{a} \left (1 + \sqrt{3}\right ) - \sqrt [3]{a - b x^{2}}}{- \sqrt [3]{a} \left (-1 + \sqrt{3}\right ) - \sqrt [3]{a - b x^{2}}} \right )}\middle | -7 + 4 \sqrt{3}\right )}{18 a^{\frac{2}{3}} b x \sqrt{- \frac{\sqrt [3]{a} \left (\sqrt [3]{a} - \sqrt [3]{a - b x^{2}}\right )}{\left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )^{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((-b*x**2+a)**(2/3)/(b*x**2+3*a)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.0913135, size = 86, normalized size = 0.15 \[ \frac{x \sqrt [3]{\frac{a-b x^2}{a}} \, _2F_1\left (\frac{1}{3},\frac{1}{2};\frac{3}{2};\frac{b x^2}{a}\right )}{18 a \sqrt [3]{a-b x^2}}+\frac{x \left (a-b x^2\right )^{2/3}}{6 a \left (3 a+b x^2\right )} \]
Antiderivative was successfully verified.
[In] Integrate[(a - b*x^2)^(2/3)/(3*a + b*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.074, size = 0, normalized size = 0. \[ \int{\frac{1}{ \left ( b{x}^{2}+3\,a \right ) ^{2}} \left ( -b{x}^{2}+a \right ) ^{{\frac{2}{3}}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((-b*x^2+a)^(2/3)/(b*x^2+3*a)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (-b x^{2} + a\right )}^{\frac{2}{3}}}{{\left (b x^{2} + 3 \, a\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-b*x^2 + a)^(2/3)/(b*x^2 + 3*a)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (-b x^{2} + a\right )}^{\frac{2}{3}}}{b^{2} x^{4} + 6 \, a b x^{2} + 9 \, a^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-b*x^2 + a)^(2/3)/(b*x^2 + 3*a)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\left (a - b x^{2}\right )^{\frac{2}{3}}}{\left (3 a + b x^{2}\right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-b*x**2+a)**(2/3)/(b*x**2+3*a)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (-b x^{2} + a\right )}^{\frac{2}{3}}}{{\left (b x^{2} + 3 \, a\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-b*x^2 + a)^(2/3)/(b*x^2 + 3*a)^2,x, algorithm="giac")
[Out]